<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>内容标签</title>
<link href="/static/admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="/static/admin/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/static/admin/js/jquery.js"></script>
<script type="text/javascript" src="/static/admin/js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="/static/admin/js/select-ui.min.js"></script>


  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">系统设置</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
    <div class="itab">
  	<ul> 
    <li><a href="#tab1" class="selected">内容标签</a></li> 
    <li><a href="#tab2">栏目设置</a></li> 
  	</ul>
    </div> 
  
     <form action="<?php echo U('label/addLable');?>" method="post">
  	<div id="tab1" class="tabson">
    
    
    
    <ul class="forminfo">
     <li><label>模板代码<b>*</b></label>
    

    <textarea id="" name="llabelcode" cols="70" rows="6" style="border:1px solid #ddd;"><?php echo ($labelData["llabelcode"]["llabelcode"]); ?></textarea>
    
    </li>
   
   
    <li><label>显示行数<b>*</b></label> <input name="llabelcode_row" type="text" class="dfinput" style="width:150px;" value="<?php echo ($labelData["llabelcode"]["llabelcode_row"]); ?>" /><i></i>
    </li>

     <li><label>显示列数<b>*</b></label> <input name="llabelcode_clow" type="text" class="dfinput" style="width:150px;" value="<?php echo ($labelData["llabelcode"]["llabelcode_clow"]); ?>" /><i></i>
    </li>

     <li><label>标题长度<b>*</b></label> <input name="llabelcode_tit_length" type="text" class="dfinput" style="width:150px;" value="<?php echo ($labelData["llabelcode"]["llabelcode_tit_length"]); ?>"/><i></i>
    </li>

     <li><label>标签层长度<b>*</b></label> <input name="lwidth" type="text" class="dfinput" style="width:150px;" value="<?php echo ($labelData["lwidth"]); ?>"  /><i></i>
    </li>

      <li><label>标签层高度<b>*</b></label> <input name="lheight" type="text" class="dfinput" style="width:150px;" value="<?php echo ($labelData["lheight"]); ?>" /><i></i>
    </li>



<li><label>是否显示<b>*</b></label>
    
                <div class="dfinputradio"><input type="radio" name="lisshow" value="0"  <?php if($labelData["lisshow"] == 0): ?>checked="checked"<?php endif; ?> />显示</div>
                <div class="dfinputradio"><input type="radio" name="lisshow" value="1" <?php if($labelData["lisshow"] == 1): ?>checked="checked"<?php endif; ?> />隐藏</div>
    
    </li>
    
    
 
   

    </ul>
    
    </div> 
    
    
  	<div id="tab2" class="tabson">
    


    
    
    
    <ul class="forminfo">   
     <li><label>栏目<b>*</b></label>
    

    <div  name="" cols="70" rows="6" id="content7" name="content" style="width:400px;height:200px;float:left;overflow: auto;border:1px solid #ddd;padding:5px;margin: 10px 0px;">
        <?php if(is_array($cateList)): foreach($cateList as $key=>$v): ?><div><input type="checkbox" value="<?php echo ($v["cid"]); ?>" name="category[]" style="margin:0px 5px" /><?php echo ($v["_name"]); ?></div><?php endforeach; endif; ?>
    </div>
    
    </li>
   
    <li><label>模型</label>  
    <div class="vocation">
    <select class="select3" name="modelName">
     <?php if(is_array($ModelData)): foreach($ModelData as $key=>$v): ?><option value="<?php echo ($v["mid"]); ?>"><?php echo ($v["mname"]); ?></option><?php endforeach; endif; ?> 
    </select>
    </div>
    </li>

        <li><label>文章属性<b>*</b></label>
    
                <div class="dfinputradio"><input type="checkbox" name="attr" value="h" />头条</div>
                <div class="dfinputradio"><input type="checkbox" name="attr" value="c" />推荐</div>
                <div class="dfinputradio"><input type="checkbox" name="attr" value="f" />幻灯</div>
                <div class="dfinputradio"><input type="checkbox" name="attr" value="a" />特荐</div>
                <div class="dfinputradio"><input type="checkbox" name="attr" value="s" />滚动</div>
                <div class="dfinputradio"><input type="checkbox" name="attr" value="b" />加粗</div>
                <div class="dfinputradio"><input type="checkbox" name="attr" value="p" />图片</div>
                <div class="dfinputradio"><input type="checkbox" name="attr" value="j" />跳转</div>
    
    </li>



     <li><label>排序<b>*</b></label> <div class="dfinputradio"><input type="radio" name="sort" value="asc" />升序</div>
                <div class="dfinputradio"><input type="radio" name="sort" value="desc" />降序</div><i></i>
    </li>



    
    
 
   
   <input type="hidden" name="lname" value="<?php echo ($_GET['labelName']); ?>" />
    <input type="hidden" name="ltype" value="<?php echo ($_GET['ltype']); ?>" />
    </ul>
  
    
    </div>  
    <ul class="forminfo">    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="马上发布"/></li></ul>
	</div> 
</form>
	<script type="text/javascript"> 
      $("#usual1 ul").idTabs(); 
    </script>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
    
    
    
    
    
    </div>


</body>

</html>